package com.zy.cat.entity.app.resp;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 
 * @info 新闻接口响应类
 * @author lipengchao
 * @date 2019-10-30 09:14
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("新闻接口响应类")
public class NewItemResp {
    /**
     * 标题
     */
    @ApiModelProperty(value = "标题", example = "有人还会因此上瘾")
    private String title;

    /**
     * 时间
     */
    @ApiModelProperty(value = "时间", example = "2016-03-16 07:23")
    private String time;

    /**
     * 来源
     */
    @ApiModelProperty(value = "来源", example = "中国网")
    private String src;

    /**
     * 分类
     */
    @ApiModelProperty(value = "分类", example = "mil")
    private String category;
    
    @ApiModelProperty(value = "图片", example = "http://api.jisuapi.com/news/upload/20160316/105123_31442.jpg")
    private String pic;
    
    @ApiModelProperty(value = "内容", example = "")
    private String content;
    
    @ApiModelProperty(value = "原文手机网址", example = "")
    private String url;
    
    @ApiModelProperty(value = "原文PC网址", example = "")
    private String weburl;
}
